@echo off
echo Starting Shop Management System...
echo.
echo 1. Starting Backend...
start "Backend" cmd /k "cd springboot_demo && set JAVA_HOME=C:\Program Files\Java\jdk-17 && set PATH=%JAVA_HOME%\bin;%PATH% && mvn spring-boot:run"
echo.
echo 2. Starting Frontend...
start "Frontend" cmd /k "cd vue_demo && npm run serve"
echo.
echo Services are starting...
echo Backend: http://localhost:8080
echo Frontend: http://localhost:3000
echo.
pause 